dc software package provides GNU dc arbitrary precision reverse-polish calculator, you can install in your Ubuntu 16.04 LTS (Xenial Xerus) by running the commands given below on the terminal,
$ sudo apt-get update $ sudo apt-get install dc
dc is installed in your system.
Make ensure the dc package were installed using the commands given below,
$ sudo dpkg-query -l | grep dc *
You will get with dc package name, version, architecture and description in a table
| Distro | Ubuntu 16 04 lts xenial xerus |
| Section | Mathematics |
| Package | dc |
| Version | 1.06.95-9build1 |
| Description | GNU dc arbitrary precision reverse-polish calculator |
| Sub Section | Math |